package cn.ibizlab.odoo.core.odoo_portal.service;

import java.io.Serializable;
import java.sql.Timestamp;
import java.util.ArrayList;
import java.util.List;
import java.util.Map;
import java.util.HashMap;
import java.util.Collection;
import java.math.BigInteger;

import org.springframework.data.domain.Page;
import org.springframework.data.domain.Pageable;

import cn.ibizlab.odoo.core.odoo_portal.domain.Portal_wizard;
import cn.ibizlab.odoo.core.odoo_portal.filter.Portal_wizardSearchContext;

/**
 * 实体[Portal_wizard] 服务对象接口
 */

public interface IPortal_wizardService{
     boolean update(Portal_wizard portal_wizard) ;
     void createBatch(List<Portal_wizard> portal_wizards, int batchSize) ;
     void updateBatch(List<Portal_wizard> portal_wizards, int batchSize) ;
     boolean remove(Integer id) ;
     void removeBatch(Collection<? extends Serializable> idList, int batchSize) ;
     boolean create(Portal_wizard portal_wizard) ;
     Portal_wizard get(Integer id) ;
     Portal_wizard get(Portal_wizard portal_wizard) ;

    /**
     * 查询集合 默认查询
     */
    Page<Portal_wizard> searchDefault(Portal_wizardSearchContext context) ;

    /**
     * 根据用户查询
     */
     Page<Portal_wizard> selectByOdoo_create(Integer id) ;

    /**
     * 根据用户查询
     */
     Page<Portal_wizard> selectByOdoo_write(Integer id) ;

    /**
     * 转换ClientModel为Domain
     */
    public Portal_wizard convert2Domain(cn.ibizlab.odoo.core.client.model.Iportal_wizard model ,Portal_wizard domain);

    /**
     * 转换Domain为ClientModel
     */
    public cn.ibizlab.odoo.core.client.model.Iportal_wizard convert2Model(Portal_wizard domain , cn.ibizlab.odoo.core.client.model.Iportal_wizard model);

}
